#ifndef CENCRYPT_H
#define CENCRYPT_H

#include <QObject>
#include <QCryptographicHash>
#include <QByteArray>
#include <QString>

class CEncrypt : public QObject
{
    Q_OBJECT
private:
    CEncrypt();
    ~CEncrypt();

    static CEncrypt* singleton;

public:
    static CEncrypt* get_instance();

public slots:
    QString encrypt(QString password);
    
};

#endif // CENCRYPT_H
